<?php defined('SYSPATH') or die('No direct script access'); ?>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<title><?php echo $page_title; ?></title>
	<meta charset="UTF-8">
	<?php echo HTML::script('media/js/prettify/prettify.js'); ?>
	<?php echo HTML::script('https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js'); ?>
	<?php echo HTML::script('https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js'); ?>
	<?php echo HTML::style('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/themes/ui-lightness/jquery-ui.css'); ?>
	<?php echo HTML::style('media/css/default.css'); ?>
	<?php echo HTML::style('media/js/prettify/prettify.css'); ?>
</head>
<body>
	<div class="page">
		<div id="header">
			<?php if(!empty($message)): ?>
			<span class="flash"><?php echo $message; ?></span>
			<?php endif; ?>
		</div>
		
		<div id="menu" class="grid_2">
		<?php include 'widgets/menu.php'; ?>
		<?php @include $content_for_layout.'.php'; ?> 
		<!-- Global Footer -->
	</div>
</body>
</html>